package com.gc;

import com.gc.service.UserServiceImpl;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class GcServerBoot {

    public static void main(String[] args) throws InterruptedException {
        SpringApplication.run(GcServerBoot.class, args);

        //启动rpc服务
        UserServiceImpl.startServer("127.0.0.1", 8990);
    }

}
